{ config, lib, pkgs, ... }:

{
  # Alacritty终端配置
  programs.alacritty = {
    enable = true;
    settings = {
      window = {
        padding = {
          x = 1;
          y = 1;
        };
        dynamic_padding = true;
        decorations = "none";
        startup_mode = "Windowed";
      };
      scrolling = {
        history = 10000;
      };
      font = {
        size = 14.0;
        offset = {
          x = 0;
          y = 0;
        };
      };
      colors = {
        primary = {
          background = "#272e33";
          foreground = "#d3c6aa";
        };
        normal = {
          black = "#414b50";
          red = "#e67e80";
          green = "#a7c080";
          yellow = "#dbbc7f";
          blue = "#7fbbb3";
          magenta = "#d699b6";
          cyan = "#83c092";
          white = "#d3c6aa";
        };
        bright = {
          black = "#475258";
          red = "#e67e80";
          green = "#a7c080";
          yellow = "#dbbc7f";
          blue = "#7fbbb3";
          magenta = "#d699b6";
          cyan = "#83c092";
          white = "#d3c6aa";
        };
      };
    };
  };
} 